package com.zygh.policeasset.controller;

import com.zygh.policeasset.mapper.AssetsLifeCycleMapper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping({"/assetsLifeCycle"})
@Api(tags = {"资产生命周期查询"})
@RestController
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/controller/AssetsLifeCycleController.class */
public class AssetsLifeCycleController {
    @Autowired
    AssetsLifeCycleMapper assetsLifeCycleMapper;

    @RequestMapping(value = {"/findById"}, method = {RequestMethod.GET})
    @ApiOperation("通过资产id资产生命周期")
    public Object findById(@RequestParam("id") Integer id) {
        return this.assetsLifeCycleMapper.findById(id);
    }
}